text = "你好"
bytes_data = text.encode("utf-8")  # b'\xe4\xbd\xa0\xe5\xa5\xbd'
decoded = bytes_data.decode("utf-8")  # "你好"

print(text)
print(bytes_data)
print(decoded)